﻿#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLuaBase.lua_CSFunction;
#endif

using XLua;
using System.Collections.Generic;


namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class GpuHudFacadeWrap 
    {
        public static void __Register(RealStatePtr L)
        {
			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			System.Type type = typeof(GpuHudFacade);
			Utils.BeginObjectRegister(type, L, translator, 0, 11, 12, 6);
			
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "Initialize", _m_Initialize);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnAssetInit", _m_OnAssetInit);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetDefaultTMPName", _m_SetDefaultTMPName);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetGpuHudAsset", _m_SetGpuHudAsset);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "DisposeGpuHudAsset", _m_DisposeGpuHudAsset);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetMatParamsByGroup", _m_GetMatParamsByGroup);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetFlyTextEntity", _m_GetFlyTextEntity);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "RecoverFlyTextEntity", _m_RecoverFlyTextEntity);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPlayerNameEntity", _m_GetPlayerNameEntity);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "RecoverPlayerNameEntity", _m_RecoverPlayerNameEntity);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "DisposePool", _m_DisposePool);
			
			
			Utils.RegisterFunc(L, Utils.GETTER_IDX, "GpuHudManagerPool", _g_get_GpuHudManagerPool);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "Settings", _g_get_Settings);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "HudCamera", _g_get_HudCamera);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "NormalTmpAssetName", _g_get_NormalTmpAssetName);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "DamageTmpAssetName", _g_get_DamageTmpAssetName);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "Context", _g_get_Context);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "m_hudCamera", _g_get_m_hudCamera);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "drawLayer", _g_get_drawLayer);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "entityCount", _g_get_entityCount);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "editorCamera", _g_get_editorCamera);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "editorRenderLayer", _g_get_editorRenderLayer);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "editorMode", _g_get_editorMode);
            
			Utils.RegisterFunc(L, Utils.SETTER_IDX, "m_hudCamera", _s_set_m_hudCamera);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "drawLayer", _s_set_drawLayer);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "entityCount", _s_set_entityCount);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "editorCamera", _s_set_editorCamera);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "editorRenderLayer", _s_set_editorRenderLayer);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "editorMode", _s_set_editorMode);
            
			
			Utils.EndObjectRegister(type, L, translator, null, null,
			    null, null, null);

		    Utils.BeginClassRegister(type, L, __CreateInstance, 1, 2, 1);
			
			
            
			Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "GpuFacade", _g_get_GpuFacade);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "localizationProvider", _g_get_localizationProvider);
            
			Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "localizationProvider", _s_set_localizationProvider);
            
			
            Utils.RegisterFunc(L, Utils.CLS_IDX, "New", __CreateInstanceNew);
			Utils.EndClassRegister(type, L, translator);
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				if(LuaAPI.lua_gettop(L) == 1)
				{
					
					var gen_ret = new GpuHudFacade();
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
			}
            return LuaAPI.luaL_error(L, "invalid arguments to GpuHudFacade constructor!");
            
        }

        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstanceNew(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				if(LuaAPI.lua_gettop(L) == 0)
				{
					
					var gen_ret = new GpuHudFacade();
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
			}
            return LuaAPI.luaL_error(L, "invalid arguments to GpuHudFacade constructor!");
            
        }

        
		
        
		
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Initialize(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 2&& translator.Assignable<Yoozoo.Framework.Core.SingletonMono<GpuHudFacade>.Options>(L, 2)) 
                {
                    Yoozoo.Framework.Core.SingletonMono<GpuHudFacade>.Options _options = (Yoozoo.Framework.Core.SingletonMono<GpuHudFacade>.Options)translator.GetObject(L, 2, typeof(Yoozoo.Framework.Core.SingletonMono<GpuHudFacade>.Options));
                    
                    gen_to_be_invoked.Initialize( _options );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 1) 
                {
                    
                    gen_to_be_invoked.Initialize(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to GpuHudFacade.Initialize!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnAssetInit(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    GpuHudEntityType _entityType;translator.Get(L, 2, out _entityType);
                    int _id = LuaAPI.xlua_tointeger(L, 3);
                    GpuHudAsset _asset = (GpuHudAsset)translator.GetObject(L, 4, typeof(GpuHudAsset));
                    
                    gen_to_be_invoked.OnAssetInit( _entityType, _id, _asset );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetDefaultTMPName(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    string _normal = LuaAPI.lua_tostring(L, 2);
                    string _damage = LuaAPI.lua_tostring(L, 3);
                    bool _isLocalizationChanged = LuaAPI.lua_toboolean(L, 4);
                    
                    gen_to_be_invoked.SetDefaultTMPName( _normal, _damage, _isLocalizationChanged );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetGpuHudAsset(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    System.Collections.Generic.List<GpuHudAsset> _assets = (System.Collections.Generic.List<GpuHudAsset>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<GpuHudAsset>));
                    System.Collections.Generic.List<int> _idSet = (System.Collections.Generic.List<int>)translator.GetObject(L, 3, typeof(System.Collections.Generic.List<int>));
                    
                    gen_to_be_invoked.SetGpuHudAsset( _assets, _idSet );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DisposeGpuHudAsset(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.DisposeGpuHudAsset(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetMatParamsByGroup(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    GpuHud.Settings.MatGroupType _groupType;translator.Get(L, 2, out _groupType);
                    
                        var gen_ret = gen_to_be_invoked.GetMatParamsByGroup( _groupType );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetFlyTextEntity(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _styleId = LuaAPI.xlua_tointeger(L, 2);
                    
                        var gen_ret = gen_to_be_invoked.GetFlyTextEntity( _styleId );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_RecoverFlyTextEntity(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    GpuFlyTextEntity _entity = (GpuFlyTextEntity)translator.GetObject(L, 2, typeof(GpuFlyTextEntity));
                    
                    gen_to_be_invoked.RecoverFlyTextEntity( _entity );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetPlayerNameEntity(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _styleId = LuaAPI.xlua_tointeger(L, 2);
                    
                        var gen_ret = gen_to_be_invoked.GetPlayerNameEntity( _styleId );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_RecoverPlayerNameEntity(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    GpuPlayerNameEntity _entity = (GpuPlayerNameEntity)translator.GetObject(L, 2, typeof(GpuPlayerNameEntity));
                    
                    gen_to_be_invoked.RecoverPlayerNameEntity( _entity );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DisposePool(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.DisposePool(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_GpuFacade(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, GpuHudFacade.GpuFacade);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_GpuHudManagerPool(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.GpuHudManagerPool);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_Settings(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.Settings);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_HudCamera(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.HudCamera);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_NormalTmpAssetName(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushstring(L, gen_to_be_invoked.NormalTmpAssetName);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_DamageTmpAssetName(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushstring(L, gen_to_be_invoked.DamageTmpAssetName);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_Context(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.Context);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_m_hudCamera(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.m_hudCamera);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_drawLayer(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.drawLayer);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_entityCount(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.entityCount);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_localizationProvider(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, GpuHudFacade.localizationProvider);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_editorCamera(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.editorCamera);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_editorRenderLayer(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.editorRenderLayer);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_editorMode(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.editorMode);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_m_hudCamera(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.m_hudCamera = (UnityEngine.Camera)translator.GetObject(L, 2, typeof(UnityEngine.Camera));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_drawLayer(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.drawLayer = LuaAPI.xlua_tointeger(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_entityCount(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.entityCount = LuaAPI.xlua_tointeger(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_localizationProvider(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    GpuHudFacade.localizationProvider = translator.GetDelegate<System.Action<string, System.Action<TMPro.TMP_FontAsset>>>(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_editorCamera(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.editorCamera = (UnityEngine.Camera)translator.GetObject(L, 2, typeof(UnityEngine.Camera));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_editorRenderLayer(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.editorRenderLayer = LuaAPI.xlua_tointeger(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_editorMode(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                GpuHudFacade gen_to_be_invoked = (GpuHudFacade)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.editorMode = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
		
		
		
		
    }
}
